package com.example.daoru.pojo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.alibaba.fastjson.JSONObject;

/**
 * @auther: Wyz
 * @date: 2021/12/15 20:15
 * @return
 */
@ExcelTarget("Xhh")
public class Xhh {

    @Excel(name = "id")
    private String id;

    @Excel(name = "deleted")
    private boolean deleted;

    @Excel(name = "createTime")
    private String createTime;

    @Excel(name = "updateTime")
    private String updateTime;

    @Excel(name = "master")
    private boolean master;

    @Excel(name = "roomType")
    private Integer roomType;

    @Excel(name = "slaveLevel")
    private Integer slaveLevel;

    @Excel(name = "name")
    private String name;

    @Excel(name = "desc")
    private String desc;

    @Excel(name = "version")
    private Integer version;

    @Excel(name = "current")
    private boolean current;

    @Excel(name = "host")
    private String host;

    @Excel(name = "port")
    private Integer port;

    @Excel(name = "instanceInfo")
    private JSONObject instanceInfo;

    @Excel(name = "mark")
    private String mark;

    @Excel(name = "operatorName")
    private String operatorName;

    @Excel(name = "operatorId")
    private String operatorId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public boolean isMaster() {
        return master;
    }

    public void setMaster(boolean master) {
        this.master = master;
    }

    public Integer getRoomType() {
        return roomType;
    }

    public void setRoomType(Integer roomType) {
        this.roomType = roomType;
    }

    public Integer getSlaveLevel() {
        return slaveLevel;
    }

    public void setSlaveLevel(Integer slaveLevel) {
        this.slaveLevel = slaveLevel;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public boolean isCurrent() {
        return current;
    }

    public void setCurrent(boolean current) {
        this.current = current;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public JSONObject getInstanceInfo() {
        return instanceInfo;
    }

    public void setInstanceInfo(JSONObject instanceInfo) {
        this.instanceInfo = instanceInfo;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public String getOperatorName() {
        return operatorName;
    }

    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    @Override
    public String toString() {
        return "Xhh{" +
                "id=" + id +
                ", deleted=" + deleted +
                ", createTime='" + createTime + '\'' +
                ", updateTime='" + updateTime + '\'' +
                ", master=" + master +
                ", roomType=" + roomType +
                ", slaveLevel=" + slaveLevel +
                ", name='" + name + '\'' +
                ", desc='" + desc + '\'' +
                ", version=" + version +
                ", current=" + current +
                ", host='" + host + '\'' +
                ", port=" + port +
                ", instanceInfo=" + instanceInfo +
                ", mark='" + mark + '\'' +
                ", operatorName='" + operatorName + '\'' +
                ", operatorId='" + operatorId + '\'' +
                '}';
    }
}
